package com.gwcm.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("商品展示项")
public class ProductVo {
    private Long id;
    @ApiModelProperty("产品编码")
    private String productSn;
    @ApiModelProperty("类别Id")
    private Long categoryId;
    @ApiModelProperty("商品名")
    private String name;
    @ApiModelProperty("商品描述")
    private String description;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("价格折扣")
    private BigDecimal priceDiscount;
    @ApiModelProperty("成本")
    private BigDecimal cost;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("库存警戒线")
    private Integer stockCordon;
    @ApiModelProperty("颜色")
    private String color;
    @ApiModelProperty("尺码")
    private String size;
    @ApiModelProperty("图片地址")
    private String imgUrl;
    @ApiModelProperty("产品名称")
    private String categoryName;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("更新时间")
    private String updateTime;
}
